package com.boss.send;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * Created by xuxiaobao on 2017/12/12.
 */
public interface SinkSender {
    String chanel = "message";
    String callback = "callback";

    @Output(SinkSender.chanel)
    MessageChannel output();

    @Input(SinkSender.callback)
    MessageChannel callback();
}
